package de.jonasbs.breakblock.game;

public abstract class BreakBlockObject {

	protected Coord pos;
	protected int width;
	protected int height;

	public Coord getPos() {
		return pos;
	}

	public void setPos(Coord pos) {
		this.pos = pos;
	}

	public void setPos(int x, int y) {
		this.pos.setX(x);
		this.pos.setY(y);
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	/*
	 * Constructor
	 */
	public BreakBlockObject(Coord pos, int width, int height) {
		super();
		this.pos = pos;
		this.width = width;
		this.height = height;
	}

}
